<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>首页</title>
  <link rel="stylesheet" href="/public/css/main.css">
  <script src="/public/js/main.js"></script>
</head>
<body>
  <h1>这是首页内容</h1>
  <hr>
  <p>id: <%=res.id%></p>
  <p>name: <%=res.name%></p>
  <img src="/public/img/img.jpg" alt="">
  <ul>
    <%for (var i = 0; i < list.length; i++) {%>
      <li><%=list[i]%></li>
    <%}%>
  </ul>
</body>
</html>